import amesu from "../../../model/bot/amesu";
import { MsgAction, Tpl_guess } from "../../../shared/master/MsgAction";
import { style_default } from "../../../style/default";

export default function(data:MsgAction){
    let d = data.data as Tpl_guess;
    let s = new style_default();
    s.setTitle('多人猜数','😵‍💫');
    s.addLine(`📄多人猜数第${d.round}轮`);
    s.addLine(`🔎当前范围[${d.min}-${d.max}]`);
    s.addLine(`🎉累计奖励💰${d.gold}`);
    s.addLine(`😭全服已猜${d.cont}次`)
    s.addLine(`💡参与指令:猜数 + 你猜的数字`)
    amesu.sendText(data.tolocation,s.end());
}